package com.alibaba.entity;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * ExamStatus entity. 
 * @author kinglcc
 */

public class ExamStatus implements java.io.Serializable {

	// Fields

	private Integer examId;
	private Users users;
	private ExamType examType;
	private String examName;
	private Timestamp examStart;
	private Timestamp examEnd;
	private Boolean isSubmit;
	private Set exams = new HashSet(0);

	// Constructors

	/** default constructor */
	public ExamStatus() {
	}

	/** minimal constructor */
	public ExamStatus(Users users, ExamType examType,
			Boolean isSubmit) {
		this.users = users;
		this.examType = examType;
		this.isSubmit = isSubmit;
	}

	/** full constructor */
	public ExamStatus(Users users, ExamType examType,
			String examName, Timestamp examStart, Timestamp examEnd,
			Boolean isSubmit, Set exams) {
		this.users = users;
		this.examType = examType;
		this.examName = examName;
		this.examStart = examStart;
		this.examEnd = examEnd;
		this.isSubmit = isSubmit;
		this.exams = exams;
	}

	// Property accessors

	public Integer getExamId() {
		return this.examId;
	}

	public void setExamId(Integer examId) {
		this.examId = examId;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public ExamType getExamType() {
		return this.examType;
	}

	public void setExamType(ExamType examType) {
		this.examType = examType;
	}

	public String getExamName() {
		return this.examName;
	}

	public void setExamName(String examName) {
		this.examName = examName;
	}

	public Timestamp getExamStart() {
		return this.examStart;
	}

	public void setExamStart(Timestamp examStart) {
		this.examStart = examStart;
	}

	public Timestamp getExamEnd() {
		return this.examEnd;
	}

	public void setExamEnd(Timestamp examEnd) {
		this.examEnd = examEnd;
	}

	public Boolean getIsSubmit() {
		return this.isSubmit;
	}

	public void setIsSubmit(Boolean isSubmit) {
		this.isSubmit = isSubmit;
	}

	public Set getExams() {
		return this.exams;
	}

	public void setExams(Set exams) {
		this.exams = exams;
	}

}